import 'package:wallet/generated/json/base/json_convert_content.dart';
import 'package:wallet/generated/json/base/json_field.dart';

class QuotationEntity with JsonConvert<QuotationEntity> {
	List<QuotationData> data;
	int maxpage;
	int currpage;
	int code;
	String msg;
}

class QuotationData with JsonConvert<QuotationData> {
	@JSONField(name: "current_price")
	double currentPrice;
	@JSONField(name: "current_price_usd")
	double currentPriceUsd;
	String code;
	String name;
	String fullname;
	String logo;
	@JSONField(name: "change_percent")
	double changePercent;
	@JSONField(name: "market_value")
	double marketValue;
	double vol;
	double supply;
	int rank;
	@JSONField(name: "star_level")
	int starLevel;
	@JSONField(name: "kline_data")
	String klineData;
	@JSONField(name: "market_value_usd")
	double marketValueUsd;
	@JSONField(name: "vol_usd")
	double volUsd;
	double marketcap;
	@JSONField(name: "high_price")
	double highPrice;
	@JSONField(name: "drop_ath")
	double dropAth;
	@JSONField(name: "low_price")
	double lowPrice;
	@JSONField(name: "high_time")
	String highTime;
	@JSONField(name: "low_time")
	String lowTime;
	int isifo;
	int ismineable;
	List<String> ads;
	List<String> adpairs;
	double turnoverrate;
	@JSONField(name: "changerate_utc")
	double changerateUtc;
	@JSONField(name: "changerate_utc8")
	double changerateUtc8;
}
